<template>
	<view>
		
			<top-bar fixed="relative"></top-bar>
		
	  <vc-shop-card :shopType="rangeName" :typeId="typeId" :communityId="communityId"></vc-shop-card>
	  
	  <!-- <view class="footer-fixed">
		<view class="footer-main">
			<navigator class="btn-gray" open-type="navigateBack">返回</navigator>
		</view>
	  </view> -->
	</view>
</template>

<script>
	import topBar from "@/components/top-bar/top-bar.vue";
import param from '../../constant/param.js'

import vcShopCard from '@/components/vc-shop-card/vc-shop-card.vue'

export default {
  data() {
    return {
      shops: [],
	  typeId:'',
      rangeName:'',
	  topBar
    }
  },
  components: {
    vcShopCard
  },
  onLoad(options) {
	this.rangeName = options.name;
	this.typeId = options.typeId;
	this.communityId = options.communityId;
  	this.vc.onLoad(options)
  }
}
</script>
